import { App } from "vue";
import registerElePlusIcon from "./register/element-plus-icon";
import registerI18n from "./register/i18n";

import globalCom from "./components/index";
import "virtual:svg-icons-register";

export default (app: App) => {
  //注册全局组件
  globalCom(app);
  //注册element-plus-icon
  registerElePlusIcon(app);
  //注册i18n
  registerI18n(app);
};
